.class Lcom/waiqin365/lightapp/kehu/bk;
.super Lcom/waiqin365/lightapp/dailyreport/view/y;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/bk;->a:Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/view/y;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/widget/AbsListView;I)V
    .locals 0

    invoke-super {p0, p1, p2}, Lcom/waiqin365/lightapp/dailyreport/view/y;->a(Landroid/widget/AbsListView;I)V

    return-void
.end method

.method public a(Landroid/widget/AbsListView;III)V
    .locals 5

    const/16 v2, 0x8

    const/4 v4, 0x0

    invoke-super {p0, p1, p2, p3, p4}, Lcom/waiqin365/lightapp/dailyreport/view/y;->a(Landroid/widget/AbsListView;III)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/bk;->a:Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;->f(Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v0

    sub-int v0, p2, v0

    if-ltz v0, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/bk;->a:Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;->g(Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;)Lcom/waiqin365/lightapp/kehu/b/ag;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/b/ag;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/bx;

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/bk;->a:Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v1, v4}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/bk;->a:Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;->i(Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;)Landroid/widget/TextView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/bx;->a:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    const/4 v3, 0x1

    invoke-virtual {v0, v4, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ""

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/bk;->a:Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/bk;->a:Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;->h(Lcom/waiqin365/lightapp/kehu/CMCreditProvinceActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0
.end method
